package com.chenyun.common.enums;


public enum MqMessageStatus {

    ON_SEND_AWIT(0,"发送中"),
    ON_SEND_SUCCESS(1,"发送完成"),
    ON_CONSUME(2,"已消费"),
    ON_CONSUME_ERROR(3,"消费失败"),
    ;


    private int code;
    private  String desc;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    MqMessageStatus(int code, String desc){}

}
